package com.competition.prediction.mapper;

import com.competition.prediction.entity.Game;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GameMapper {

    int insertGame(Game game);

    int updateGame(Game game);

    int deleteGameById(Long id);

    Game selectGameById(Long id);

    List<Game> selectAllGames();

    List<Game> selectActiveGames();
}